package com.fita.admin.service.order.impl;

import com.fita.admin.service.DataServiceImpl;
import com.fita.admin.service.order.MarkPayRecordService;
import com.fita.entity.order.MarkPayRecord;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: 11200
 * @date: 2019/9/10
 */
@Service("markPayRecordService")
public class MarkPayRecordServiceImpl extends DataServiceImpl<MarkPayRecord> implements MarkPayRecordService {

    /**
     * @param code
     * @return
     */
    public List<MarkPayRecord> listByOrderCode(String code) {

        List list = genericDaoSupport.searchForList("FROM MarkPayRecord WHERE orderCode = :orderCode ", "orderCode", code);

        return list;
    }
}
